/*
 * Created on 2005.11.2
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package lv.solcraft.replication.client.logging;

/**
 * A "proxy" for logging - logs can be written locally and to replication server
 * database
 * 
 * @author Ilgvars
 */
public interface ClientLogger {
    public abstract void debugLocal(String msg);

    public abstract void infoLocal(String msg);

    public abstract void warnLocal(String msg);

    public abstract void errorLocal(String msg);

    public abstract void debugAll(String msg);

    public abstract void infoAll(String msg);

    public abstract void warnAll(String msg);

    public abstract void errorAll(String msg);
    
    public abstract void errorAll(String msg, Throwable t);

    public boolean isLocalDebugEnabled();
}